home *** CD-ROM | disk | FTP | other *** search
/ Aminet 37 / Aminet 37 (2000)(Schatztruhe)[!][Jun 2000].iso / Aminet / util / wb / CmdRun104.readme < prev    next >
Text File  |  2000-05-02  |  6KB  |  161 lines

  1. Short:    Global help for all programs
  2. Author:   Christian Effenberger (YouCan@a2.amclust.de)
  3. Uploader: Christian Effenberger (YouCan@a2.amclust.de)
  4. Version:  1.04 (29.01.2000)
  5. Type:     util/wb
  6. Kurz:     globale Hilfe für alle Programme
  7. Origin:   CanDo SDK 1.24
  8. Requires: OS 2.x, cando.library
  9.  
  10.  
  11.  
  12. Address:
  13. -------
  14. Christian Effenberger
  15. Suedstrasse 2
  16. 41564 Kaarst
  17. G E R M A N Y
  18.  
  19. 0049-(0)2131-669392
  20. YouCan@a2.amclust.de
  21.  
  22.  
  23.  
  24.  
  25. CmdRun 1.04 (29.01.2000),  © 2000 by Christian Effenberger
  26.  
  27. CmdRun is a small program that enhances the Standard Tool for project
  28. icons. All these things you didn't thought was possible for Project files
  29. is now reality. How about unpacking a LhA-archive only by doubleclicking it!
  30. It works for any project file which got an icon (even with icons only).
  31. Do not use strings longer than 255 Characters.
  32.  
  33. It is used through tooltypes and certain special %-codes:
  34.  
  35. ACTION      This tooltype MUST be available. The following string (each line
  36.             separeted by "|") will be executed like an DOS-call but...
  37.             ...if there is any %-codes in the string, CmdRun will replace
  38.             them with the following:
  39.  
  40.       %f  = the filename of the project file calling will be inserted.
  41.       %p  = the pathname of the project file calling will be inserted.
  42.       %pf = the path- and filename of the project file calling will be inserted.
  43.       %fr = the file chosen by the user from a file requester will be inserted.
  44.       %sr = the savefile chosen by the user from a file requester will be inserted.
  45.       %pr = the path chosen by the user from a path requester will be inserted.
  46.  
  47.             Simple EXAMPLES:
  48.  
  49.             Unpacking...    ACTION=LhA x "%pf" "%pr"
  50.             Listing.....    ACTION=LhA v "%pf"
  51.             Viewing.....    ACTION=Sys:Utilities/Multiview "%pf"
  52.             Printing....    ACTION=Sys:Utilities/PrintFiles -f "%pf"
  53.             Editing.....    ACTION=ed "%pf"
  54.             Copy to ?...    ACTION=Copy FROM "%f" "%f.info" TO "%pr"
  55.             To Clipboard    ACTION=Copy FROM "%pf" TO CLIP:
  56.             Deleting....    ACTION=Delete "%pf"|Delete "%pf.info"
  57.  
  58.             Special EXAMPLES: (icons only)
  59.  
  60.             Surfing....     ACTION=Prg:Tools/Browser/Voyager URL "http://%f"
  61.             Mailing....     ACTION=Prg:Tools/Mailer/AmigaMail MAIL SUB "Hi," TO %f
  62.             Cliping....     ACTION=Sys:Utilities/Multiview CLIPBOARD CLIPUNIT 0
  63.  
  64.             Complex EXAMPLES: (multilines)
  65.  
  66.             ACTION=Echo "Hi," >"Ram:T/mdtemp.mdt"|...
  67.                    Echo "/** Rexx **/" >"T:Rexx.tmp"|...
  68.                    Echo "ADDRESS 'MICRODOT'" >>"T:Rexx.tmp"|...
  69.                    Echo "SENDMAIL 'TO=*"*%f*"* BODYFILE=*"*Ram:T/mdtemp.mdt*"* SUBJECT=*"*?*"* WAIT'" >>"T:Rexx.tmp"|...
  70.                    Sys:RexxC/RX "T:CmdRun.tmp"
  71.  
  72.  
  73. WINDOW      This tooltype handles the output window that will be used by ACTION.
  74.             Template is CON:X/Y/WIDTH/HEIGHT/TITLE/OPTION/OPTION ../OPTION.
  75.  
  76.         X = the shells horizontal Window Position.
  77.         Y = the shells vertical Window Position.
  78.     WIDTH = the shells Window Width.
  79.    HEIGHT = the shells Window Height.
  80.     TITLE = the shells Title Text.
  81.  
  82.             OPTIONS:
  83.  
  84.      AUTO = open a shell window only if needed.
  85.       ALT = add a zoom gadget to shell window (i.e. ALT30/30/200/200).
  86.  BACKDROP = use a backdrop shell window.
  87.     CLOSE = add standard gadgets to shell window.
  88.   INACTIV = shell window is not activated after startup.
  89.  NOBORDER = use a borderless shell window.
  90.   NOCLOSE = remove close gadget from shell window.
  91.   NODEPTH = remove depth gadget from shell window.
  92.    NODRAG = use a none dragable shell window.
  93.    NOSIZE = remove size gadget from shell window.
  94.    SCREEN = open shell window on a public screen (i.e. SCREENWorkbench)
  95.    SIMPLE = use a simple refreshed shell window.
  96.     SMART = use a smart refreshed shell window.
  97.      WAIT = use shell window until the user will close it.
  98.  
  99.             For Example (if you need an output-window):
  100.  
  101.                 WINDOW=CON:0/0/640/100/LhA-Output/WAIT/CLOSE
  102.  
  103.  
  104. To give the user serveral choices of selection...
  105.  
  106. REQBUTTONS  This tooltype is used to ask the user which action he wants to take.
  107.             It should be a string with button labels separeted by "|". CmdRun
  108.             will always use the rightmost label to abort. The first action will
  109.             use ACTION/WINDOW the second ACTION2/WINDOW2, the third ACTION3/WINDOW3
  110.             etc. (there is a maximum of 6 actions excluding abortion.)
  111.  
  112.             For a LhA archive this could be:
  113.  
  114.                 REQBUTTONS=Extract|List|Test|Cancel
  115.  
  116. REQTEXT     This tooltype is used for the Requester text. It should be a string
  117.             with each line separeted by "|". For Example: (default value)
  118.  
  119.                 REQTEXT=Please select the action|you want to be executed!
  120.  
  121. REQTITLE    This tooltype is used for the Requester title. For Example: (default value)
  122.  
  123.                 REQTITLE=Make your choice...
  124.  
  125. FRQTITLE    This tooltype is used for the FILE-Requester title. For Example: (default value)
  126.  
  127.                 FRQTITLE=Select a file...
  128.  
  129. SRQTITLE    This tooltype is used for the SAVEFILE-Requester title. For Example: (default value)
  130.  
  131.                 FRQTITLE=Save file as...
  132.  
  133. PRQTITLE    This tooltype is used for the PATH-Requester title. For Example: (default value)
  134.  
  135.                 PRQTITLE=Select a path...
  136.  
  137.  
  138.  
  139. Original  Packed Ratio    Date     Time    Name
  140. -------- ------- ----- --------- --------  -------------
  141.     7484    7402  1.0% 09-Apr-00 16:39:30  CmdRun/CmdRun
  142.     4937    1863 62.2% 09-Apr-00 16:41:36  CmdRun/CmdRun.Readme
  143.     3617    2143 40.7% 16-Jan-00 16:22:20  CmdRun/CmdRun.Readme.info
  144.    27890   27890  0.0% 09-Apr-00 16:33:30  CmdRun/Examples.lha
  145.     3480    2413 30.6% 16-Jan-00 16:24:52  CmdRun/Examples.lha.info
  146. -------- ------- ----- --------- --------
  147.    47408   41711 12.0% 09-Apr-100 16:43:48   5 files
  148.  
  149.  
  150. ============================= Archive contents =============================
  151.  
  152. Original  Packed Ratio    Date     Time    Name
  153. -------- ------- ----- --------- --------  -------------
  154.     7484    7402  1.0% 09-Apr-00 16:39:30 +CmdRun
  155.     4937    1863 62.2% 09-Apr-00 16:41:36 +CmdRun.Readme
  156.     3617    2143 40.7% 16-Jan-00 16:22:20 +CmdRun.Readme.info
  157.    27890   27890  0.0% 09-Apr-00 16:33:30 +Examples.lha
  158.     3480    2413 30.6% 16-Jan-00 16:24:52 +Examples.lha.info
  159. -------- ------- ----- --------- --------
  160.    47408   41711 12.0% 10-Apr-100 09:52:04   5 files
  161.